<?php

namespace App\Http\Controllers\Admin;

use App\Http\Controllers\Controller;
use App\Http\Requests\CoinsConfigRequest;
use App\Http\Resources\HomeResource;
use App\Http\Services\Admin\CoinsConfigService;

class CoinsConfigController extends Controller
{
    public function detail(CoinsConfigService $service)
    {
        return $service->detail();

    }

    public function update(CoinsConfigRequest $request, CoinsConfigService $service)
    {
        return $service->update($request->input());
    }

}
